package com.stress.testing.plugin.es.strategy;

import org.elasticsearch.index.reindex.DeleteByQueryRequest;

public class DeleteByQueryRequestIndexRenameStrategy extends AbstractRequestIndexRenameStrategy {
    @Override
    public void renameIndex(Object arg) {
        DeleteByQueryRequest request = (DeleteByQueryRequest) arg;
        request.indices(internalRenameIndex(request.indices()));
    }
}
